<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/style.css">

  </head>
  
  <body>
    <ul id="tabsmenu" class="tabsmenu">
        <li class="active"><a>注册用户</a></li>
    </ul>
    <div id="tab1" class="tabcontent">
        <div class="form">
            <form action="registUser.action" method="POST">
            <div class="form_row">
            <label>用户名:</label>
            <input type="text" class="form_input" name="username"/>
            </div>
            <div class="form_row">
            <label>密码:</label>
            <input type="text" class="form_input" name="password"/>
            </div>
            <div class="form_row">
            <label>确认密码:</label>
            <input type="text" class="form_input" name="repassword"/>
            </div>
             <div class="form_row">
            <label>姓名:</label>
            <input type="text" class="form_input" name="name"/>
            </div>
             <div class="form_row">
            <label>电话:</label>
            <input type="text" class="form_input" name="tele"/>
            </div>
             <div class="form_row">
            <label>系别:</label>
            <input type="text" class="form_input" name="dept"/>
            </div>
             <div class="form_row">
            <label>课程:</label>
            <input type="text" class="form_input" name="course"/>
            </div>
           	<div class="form_row">
            <label>权限：</label>
            	<input type="checkbox" class="form-checkbox" name="reserve" value="0">管理员
            	<input type="checkbox" class="form-checkbox" name="reserve" value="1">用户
            </div>
            <div class="form_row">
            <input type="submit" class="form_submit" value="Submit" />
            </div> 
            <div class="clear"></div>
            </form>
        </div>
    </div>
  </body>
</html>
